HTML5 Canvas Cookbook

HTML5 Canvas Cookbook

作者: Eric Rowell
出版社: Packt Publishing
出版在: 2011-11-26
ISBN-13: 9781849691369
ISBN-10: 1849691363
裝訂格式: Paperback
總頁數: 348 頁





內容描述


Over 80 recipes to revolutionize the Web experience with HTML5 Canvas The quickest way to get up to speed with HTML5 Canvas application and game development Create stunning 3D visualizations and games without Flash Written in a modern, unobtrusive, and objected oriented JavaScript style so that the code can be reused in your own applications. Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible In Detail The HTML5 canvas is revolutionizing graphics and visualizations on the Web. Powered by JavaScript, the HTML5 Canvas API enables web developers to create visualizations and animations right in the browser for the first time without Flash. HTML5 Canvas is being considered as the future of graphics and interactivity on the Web and yet most developers fail to exercise all of the features that this powerful technology has to offer. HTML5 Canvas Cookbook covers the fundamental methods and properties of the HTML5 canvas API. As soon as you are familiar with the API, the book provides advanced techniques for handling animations, image and video manipulations, canvas interactivity, data visualizations, game development, 3D modeling, and more. HTML5 Canvas Cookbook begins by covering the basics of the HTML5 Canvas API and then provides techniques for handling features not directly supported by the API such as animations and canvas interactivity. It winds up by providing detailed templates for a few of the most common HTML5 canvas applications - data visualization, game development, and 3D modeling. It will acquaint you with interesting topics such as fractals, principles of animation, physics, color models, matrix mathematics, and 3D projection. By the end of this book, you will have a solid understanding of the HTML5 canvas API and a toolbox of techniques for creating any type of HTML5 Canvas application, limited only by the extent of your imagination. What you will learn from this book Learn about the fundamentals of line drawing, text drawing, shape drawing, composites, and picture drawing. Animate linear motions, accelerations, and oscillations, and create a particle physics simulator. Work with images, video, and pixel manipulation. Apply transformation effects including translations, scaling, rotations, and shearing. Create interactive HTML5 canvas applications using mouse coordinate detection, pixel detection, rectangular region detection, and path detection techniques. Construct data visualizations with graphs and charts. Develop your own HTML5 canvas games. Create stunning 3D visualizations with JavaScript libraries and WebGL. Approach Written in cookbook style, this book offers a wide array of techniques for building HTML5 Canvas applications. Each recipe contains step-by-step instructions followed by analysis of what was done in each task and other useful information. The book is designed so that you can read it chapter by chapter, or you can look at the list of recipes and refer to them in no particular order. Who this book is written for This book is geared towards web developers who are familiar with HTML and JavaScript. It is written for both beginners and seasoned HTML5 developers with a good working knowledge of JavaScript.




相關書籍

jQuery 前端開發 (全案例微課版)

作者 劉輝

2011-11-26

響應式網頁開發基礎教程(jQuery+Bootstrap)

作者 鄭婷婷 黃傑晟

2011-11-26

深入實戰 Vue 開發

作者 殷榮檜

2011-11-26